home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1996 February: Tool Chest / Apple Developer CD Series Tool Chest February 1996 (Apple Computer)(1996).iso / Sample Code / AOCE Sample Code / PowerTalk Access Modules / Sample PMSAM / PMSAM Framework / RoboSamSlot / CheckGestalt.h < prev    next >
Encoding:
C/C++ Source or Header  |  1995-07-28  |  1004 b   |  54 lines  |  [TEXT/MPS ]

  1. /*
  2.     File:        CheckGestalt.h
  3.  
  4.     Contains:    xxx put contents here xxx
  5.  
  6.     Written by:    Jeff Brickman
  7.  
  8.     Copyright:    © 1994 by Apple Computer, Inc., all rights reserved.
  9.  
  10.     Change History (most recent first):
  11.  
  12.          <2>    10/20/94    TMH        fussed with
  13.          <1>     10/6/94    JHB        first checked in
  14.  
  15.     To Do:
  16. */
  17.  
  18. #ifndef __CheckGestalt__
  19. #define __CheckGestalt__
  20.  
  21.  
  22.  
  23. // -------------------------------------
  24. //         CCheckSystemConfiguration
  25. // -------------------------------------
  26.  
  27. class CSystemConfiguration {
  28. public:
  29.         
  30.                     CSystemConfiguration( void );
  31.                     
  32.         Boolean        HasPowerTalk( void );
  33.         Boolean        HasCommToolbox( void );
  34.         Boolean        HasThreadManager( void );
  35.         Boolean        HasAppleEvents( void );
  36.         Boolean        HasSys71orBetter( void );
  37.         
  38. private:
  39.         Boolean        HasGestalt( void );
  40.         
  41.         Boolean        fPowerTalkAvailable;
  42.         Boolean        fCommToolBoxAvailable;
  43.         Boolean        fThreadsAvailable;
  44.         Boolean        fAppleEventsAvailable;
  45.         Boolean        fGestaltAvailable;
  46.         Boolean        fSystem71orNewer;
  47.                                         
  48.         long        MyMaskBit( short theBit );
  49.         
  50.         
  51. };
  52.  
  53. #endif
  54.